package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 hms_order
 * 
 * @author ruoyi
 * @date 2021-08-16
 */
public class HmsOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long orderId;

    /** 单号 */
    @Excel(name = "单号")
    private Long orderUuid;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String orderCustomerName;

    /** 订单状态（1：待审核 2：备货中 3：运输中 4：已送达 5：已完成） */
    @Excel(name = "订单状态", readConverterExp = "1=：待审核,2=：备货中,3=：运输中,4=：已送达,5=：已完成")
    private Long orderType;

    /** 付款方式（1：额度付款 2：支付宝 3：微信） */
    @Excel(name = "付款方式", readConverterExp = "1=：额度付款,2=：支付宝,3=：微信")
    private Long orderPaymentMethod;

    /** 业务员 */
    @Excel(name = "业务员")
    private String orderSalesman;

    /** 订单备注 */
    @Excel(name = "订单备注")
    private String orderRemark;

    /** 订单提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderSubmissionTime;

    /** 订单完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderCompletionTime;

    /** 订单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderCreateTime;

    /** 订单更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderUpdateTime;

    /** 出货仓库 */
    @Excel(name = "出货仓库")
    private String orderShippingWarehouse;

    /** 发货内容 */
    @Excel(name = "发货内容")
    private String orderDeliveryContent;

    /** 发货人姓名 */
    @Excel(name = "发货人姓名")
    private String orderConsignorName;

    /** 发货人手机号码 */
    @Excel(name = "发货人手机号码")
    private String orderConsignorTel;

    /** 发货人工作地址 */
    @Excel(name = "发货人工作地址")
    private String orderConsignorAddress;

    /** 出货人姓名 */
    @Excel(name = "出货人姓名")
    private String orderShipperName;

    /** 出货人手机号码 */
    @Excel(name = "出货人手机号码")
    private String orderShipperTel;

    /** 出货人车牌号 */
    @Excel(name = "出货人车牌号")
    private String orderShipperLicensePlateNumber;

    /** 订单费用信息id */
    @Excel(name = "订单费用信息id")
    private Long orderCostId;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderUuid(Long orderUuid) 
    {
        this.orderUuid = orderUuid;
    }

    public Long getOrderUuid() 
    {
        return orderUuid;
    }
    public void setOrderCustomerName(String orderCustomerName) 
    {
        this.orderCustomerName = orderCustomerName;
    }

    public String getOrderCustomerName() 
    {
        return orderCustomerName;
    }
    public void setOrderType(Long orderType) 
    {
        this.orderType = orderType;
    }

    public Long getOrderType() 
    {
        return orderType;
    }
    public void setOrderPaymentMethod(Long orderPaymentMethod) 
    {
        this.orderPaymentMethod = orderPaymentMethod;
    }

    public Long getOrderPaymentMethod() 
    {
        return orderPaymentMethod;
    }
    public void setOrderSalesman(String orderSalesman) 
    {
        this.orderSalesman = orderSalesman;
    }

    public String getOrderSalesman() 
    {
        return orderSalesman;
    }
    public void setOrderRemark(String orderRemark) 
    {
        this.orderRemark = orderRemark;
    }

    public String getOrderRemark() 
    {
        return orderRemark;
    }
    public void setOrderSubmissionTime(Date orderSubmissionTime) 
    {
        this.orderSubmissionTime = orderSubmissionTime;
    }

    public Date getOrderSubmissionTime() 
    {
        return orderSubmissionTime;
    }
    public void setOrderCompletionTime(Date orderCompletionTime) 
    {
        this.orderCompletionTime = orderCompletionTime;
    }

    public Date getOrderCompletionTime() 
    {
        return orderCompletionTime;
    }
    public void setOrderCreateTime(Date orderCreateTime) 
    {
        this.orderCreateTime = orderCreateTime;
    }

    public Date getOrderCreateTime() 
    {
        return orderCreateTime;
    }
    public void setOrderUpdateTime(Date orderUpdateTime) 
    {
        this.orderUpdateTime = orderUpdateTime;
    }

    public Date getOrderUpdateTime() 
    {
        return orderUpdateTime;
    }
    public void setOrderShippingWarehouse(String orderShippingWarehouse) 
    {
        this.orderShippingWarehouse = orderShippingWarehouse;
    }

    public String getOrderShippingWarehouse() 
    {
        return orderShippingWarehouse;
    }
    public void setOrderDeliveryContent(String orderDeliveryContent) 
    {
        this.orderDeliveryContent = orderDeliveryContent;
    }

    public String getOrderDeliveryContent() 
    {
        return orderDeliveryContent;
    }
    public void setOrderConsignorName(String orderConsignorName) 
    {
        this.orderConsignorName = orderConsignorName;
    }

    public String getOrderConsignorName() 
    {
        return orderConsignorName;
    }
    public void setOrderConsignorTel(String orderConsignorTel) 
    {
        this.orderConsignorTel = orderConsignorTel;
    }

    public String getOrderConsignorTel() 
    {
        return orderConsignorTel;
    }
    public void setOrderConsignorAddress(String orderConsignorAddress) 
    {
        this.orderConsignorAddress = orderConsignorAddress;
    }

    public String getOrderConsignorAddress() 
    {
        return orderConsignorAddress;
    }
    public void setOrderShipperName(String orderShipperName) 
    {
        this.orderShipperName = orderShipperName;
    }

    public String getOrderShipperName() 
    {
        return orderShipperName;
    }
    public void setOrderShipperTel(String orderShipperTel) 
    {
        this.orderShipperTel = orderShipperTel;
    }

    public String getOrderShipperTel() 
    {
        return orderShipperTel;
    }
    public void setOrderShipperLicensePlateNumber(String orderShipperLicensePlateNumber) 
    {
        this.orderShipperLicensePlateNumber = orderShipperLicensePlateNumber;
    }

    public String getOrderShipperLicensePlateNumber() 
    {
        return orderShipperLicensePlateNumber;
    }
    public void setOrderCostId(Long orderCostId) 
    {
        this.orderCostId = orderCostId;
    }

    public Long getOrderCostId() 
    {
        return orderCostId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderUuid", getOrderUuid())
            .append("orderCustomerName", getOrderCustomerName())
            .append("orderType", getOrderType())
            .append("orderPaymentMethod", getOrderPaymentMethod())
            .append("orderSalesman", getOrderSalesman())
            .append("orderRemark", getOrderRemark())
            .append("orderSubmissionTime", getOrderSubmissionTime())
            .append("orderCompletionTime", getOrderCompletionTime())
            .append("orderCreateTime", getOrderCreateTime())
            .append("orderUpdateTime", getOrderUpdateTime())
            .append("orderShippingWarehouse", getOrderShippingWarehouse())
            .append("orderDeliveryContent", getOrderDeliveryContent())
            .append("orderConsignorName", getOrderConsignorName())
            .append("orderConsignorTel", getOrderConsignorTel())
            .append("orderConsignorAddress", getOrderConsignorAddress())
            .append("orderShipperName", getOrderShipperName())
            .append("orderShipperTel", getOrderShipperTel())
            .append("orderShipperLicensePlateNumber", getOrderShipperLicensePlateNumber())
            .append("orderCostId", getOrderCostId())
            .toString();
    }
}
